ns_clusternode
Configuration for Cluster node information resource.
Read/write properties
node_group<String>
Node Group where the node belongs in L3 Cluster.
clusterid<Integer>
Cluster Instance ID.
Minimum value = 1
Maximum value =
clip<String>
Cluster IP.
Minimum length = 1
Maximum length = 64
spotted_config_supported<Boolean>
is spotted config supported.
password<String>
Password of the CCO node(CLIP).
Minimum length = 1
Maximum length = 128
nodeid<Integer>
Cluster Node ID.
Maximum value =
clnodeip<String>
Cluster Node IP.
Minimum length = 1
Maximum length = 64
iscco<Boolean>
Is CCO.
Read only properties
clmasterstate<String>
Cluster Master State.
act_id<String>
Activity Id.
Operations
NOTE: In request payload, Mandatory parameters are marked red and bold.
The following parameters can be used in the nitro request :
onerror <String_value>
Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE
URL:https://<MGMT-IP>/nitro/v2/config/ns_clusternode?action=remove_node&onerror=<String_value>
HTTPS Method:POST
Request Headers:
Content-Type:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Request Payload:JSON
{"ns_clusternode": {
"nodeid":<Integer_value>,
"spotted_config_supported":<Boolean_value>,
"clusterid":<Integer_value>,
"password":<String_value>,
"node_group":<String_value>,
"clip":<String_value>,
"iscco":<Boolean_value>,
"clnodeip":<String_value>}}
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "ns_clusternode":[{
"node_group":<String_value>,
"clusterid":<Integer_value>,
"clip":<String_value>,
"spotted_config_supported":<Boolean_value>,
"password":<String_value>,
"clmasterstate":<String_value>,
"nodeid":<Integer_value>,
"clnodeip":<String_value>,
"act_id":<String_value>,
"iscco":<Boolean_value>}]}
URL:https://<MGMT-IP>/nitro/v2/config/ns_clusternode
Query-parameters:
filter
https://<MGMT-IP>/nitro/v2/config/ns_clusternode?filter=property-name1:property-value1,property-name2:property-value2
Use this query-parameter to get the filtered set of ns_clusternode resources configured on the system. You can set a filter on any property of the resource.
pagesize=#no&pageno=#no
https://<MGMT-IP>/nitro/v2/config/ns_clusternode?pagesize=#no&pageno=#no
Use this query-parameter to get the ns_clusternode resources in chunks.
count
https://<MGMT-IP>/nitro/v2/config/ns_clusternode?count=yes
Use this query-parameter to get the count of ns_clusternode resources.
HTTPS Method:GET
Request Headers:
Accept:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Headers:
Content-Type:application/json
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "ns_clusternode":[{
"node_group":<String_value>,
"clusterid":<Integer_value>,
"clip":<String_value>,
"spotted_config_supported":<Boolean_value>,
"password":<String_value>,
"clmasterstate":<String_value>,
"nodeid":<Integer_value>,
"clnodeip":<String_value>,
"act_id":<String_value>,
"iscco":<Boolean_value>}]}